class CreatePolls < ActiveRecord::Migration
  def self.up
	create_table :polls do |t|
		t.column :name,:string,  :limit => 80
		t.column :quanty,:integer
		t.column :delete, :string, :limit => 3, :default => 'NO', :null => false
		t.column :create_on, :datetime
		t.column :update_on, :datetime
	end
  end

  def self.down
	  drop_table polls
  end
end
